﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Ditto.Models
{
    public class RequestStatus
    {
        public enum StatusType { None = 0, Requesting = 1, Approved = 2, Rejected = 3 };

        public int ItemID {get;set;}
        public StatusType Type { get; set; }
        public RequestStatus(int itemID)
        {
            this.ItemID = itemID;
            this.Type = StatusType.None;
        }

        public override string ToString()
        {
            switch (Type)
            {
                case StatusType.None:
                    break;
                case StatusType.Requesting:
                    break;
                case StatusType.Approved:
                    break;
                case StatusType.Rejected:
                    break;
                default:
                    break;
            }

            throw new NotImplementedException();
        }
    }

    public class ItemSummary
    {

    }


    public class Items : List<Item>
    {
        public Items(IEnumerable<Item> items) : base(items) { }
    }



    public class ItemRequests : List<Request> 
    {
        public ItemRequests(IEnumerable<Request> requests) : base(requests) { }
    }

}